package com.cxy.contentcenter;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: huayushu luming
 * @date: 2020-11-29 15:57
 * @desc:
 **/
@Slf4j
@Service
public class TestService {
    @SentinelResource("common")
    public String common(){
        log.info("common....");
        return "common";
    }
}
